<!--Copyright (C) Kherty.  All rights reserved.-->
<UserControl
    xmlns:ssui="clr-namespace:OpenLS.Spreadsheet.UI"
    x:Class="OpenLS.Spreadsheet.UI.CustomSortOptionsControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Internals="clr-namespace:OpenLS.Spreadsheet.UI.Internals"
    xmlns:Internals1="clr-namespace:OpenLS.UI.Internals;assembly=OpenLS.UI"
    xmlns:Resources="clr-namespace:OpenLS.Spreadsheet.UI.Internals.Resources"
    Height="300" Width="300" 
    >
    <!--Title="Sort Options" -->
  <DockPanel>
    <DockPanel LastChildFill="False" DockPanel.Dock="Bottom">
      <Button DockPanel.Dock="Right" IsCancel ="True" Content="{x:Static Internals1:UIStringTable.Cancel}"></Button>
      <Button DockPanel.Dock="Right" IsDefault ="True" Content="{x:Static Internals1:UIStringTable.OK}"></Button>
    </DockPanel>
    <CheckBox IsChecked="{Binding IsCaseSensitive}" DockPanel.Dock="Top" Content="{x:Static Resources:UIStringTable.CaseSensitive}"/>
    <GroupBox Header="{x:Static Internals1:UIStringTable.Orientation}" >
      <CheckBox IsChecked="{Binding SortByColumn}" DockPanel.Dock="Top"  Content="{x:Static Resources:UIStringTable.SortByColumn}"/>
    </GroupBox>
  </DockPanel>
</UserControl>
